package com.yike.user.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 设备表
 *
 * @author yike
 * @since 2024-07-19
 */
@Data
@Accessors(chain = true)
public class BandMachineParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "设备号不能为空")
    @ApiModelProperty(value = "设备号", required = true)
    private String macNo;

    @NotNull(message = "商户ID不能为空")
    @ApiModelProperty(value = "商户ID", required = true)
    private Long shopId;
}
